package com.vivo.customer.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ApprovalPendingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ApprovalPendingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserId like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserId not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridIsNull() {
            addCriterion("Approval_userId is null");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridIsNotNull() {
            addCriterion("Approval_userId is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridEqualTo(String value) {
            addCriterion("Approval_userId =", value, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridNotEqualTo(String value) {
            addCriterion("Approval_userId <>", value, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridGreaterThan(String value) {
            addCriterion("Approval_userId >", value, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridGreaterThanOrEqualTo(String value) {
            addCriterion("Approval_userId >=", value, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridLessThan(String value) {
            addCriterion("Approval_userId <", value, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridLessThanOrEqualTo(String value) {
            addCriterion("Approval_userId <=", value, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridLike(String value) {
            addCriterion("Approval_userId like", value, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridNotLike(String value) {
            addCriterion("Approval_userId not like", value, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridIn(List<String> values) {
            addCriterion("Approval_userId in", values, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridNotIn(List<String> values) {
            addCriterion("Approval_userId not in", values, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridBetween(String value1, String value2) {
            addCriterion("Approval_userId between", value1, value2, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalUseridNotBetween(String value1, String value2) {
            addCriterion("Approval_userId not between", value1, value2, "approvalUserid");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeIsNull() {
            addCriterion("Approval_time is null");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeIsNotNull() {
            addCriterion("Approval_time is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeEqualTo(Date value) {
            addCriterion("Approval_time =", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeNotEqualTo(Date value) {
            addCriterion("Approval_time <>", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeGreaterThan(Date value) {
            addCriterion("Approval_time >", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Approval_time >=", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeLessThan(Date value) {
            addCriterion("Approval_time <", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeLessThanOrEqualTo(Date value) {
            addCriterion("Approval_time <=", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeIn(List<Date> values) {
            addCriterion("Approval_time in", values, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeNotIn(List<Date> values) {
            addCriterion("Approval_time not in", values, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeBetween(Date value1, Date value2) {
            addCriterion("Approval_time between", value1, value2, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeNotBetween(Date value1, Date value2) {
            addCriterion("Approval_time not between", value1, value2, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andControllerUrlIsNull() {
            addCriterion("Controller_url is null");
            return (Criteria) this;
        }

        public Criteria andControllerUrlIsNotNull() {
            addCriterion("Controller_url is not null");
            return (Criteria) this;
        }

        public Criteria andControllerUrlEqualTo(String value) {
            addCriterion("Controller_url =", value, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlNotEqualTo(String value) {
            addCriterion("Controller_url <>", value, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlGreaterThan(String value) {
            addCriterion("Controller_url >", value, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlGreaterThanOrEqualTo(String value) {
            addCriterion("Controller_url >=", value, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlLessThan(String value) {
            addCriterion("Controller_url <", value, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlLessThanOrEqualTo(String value) {
            addCriterion("Controller_url <=", value, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlLike(String value) {
            addCriterion("Controller_url like", value, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlNotLike(String value) {
            addCriterion("Controller_url not like", value, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlIn(List<String> values) {
            addCriterion("Controller_url in", values, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlNotIn(List<String> values) {
            addCriterion("Controller_url not in", values, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlBetween(String value1, String value2) {
            addCriterion("Controller_url between", value1, value2, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andControllerUrlNotBetween(String value1, String value2) {
            addCriterion("Controller_url not between", value1, value2, "controllerUrl");
            return (Criteria) this;
        }

        public Criteria andNewEntityidIsNull() {
            addCriterion("New_entityId is null");
            return (Criteria) this;
        }

        public Criteria andNewEntityidIsNotNull() {
            addCriterion("New_entityId is not null");
            return (Criteria) this;
        }

        public Criteria andNewEntityidEqualTo(String value) {
            addCriterion("New_entityId =", value, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidNotEqualTo(String value) {
            addCriterion("New_entityId <>", value, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidGreaterThan(String value) {
            addCriterion("New_entityId >", value, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidGreaterThanOrEqualTo(String value) {
            addCriterion("New_entityId >=", value, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidLessThan(String value) {
            addCriterion("New_entityId <", value, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidLessThanOrEqualTo(String value) {
            addCriterion("New_entityId <=", value, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidLike(String value) {
            addCriterion("New_entityId like", value, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidNotLike(String value) {
            addCriterion("New_entityId not like", value, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidIn(List<String> values) {
            addCriterion("New_entityId in", values, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidNotIn(List<String> values) {
            addCriterion("New_entityId not in", values, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidBetween(String value1, String value2) {
            addCriterion("New_entityId between", value1, value2, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andNewEntityidNotBetween(String value1, String value2) {
            addCriterion("New_entityId not between", value1, value2, "newEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidIsNull() {
            addCriterion("Old_entityId is null");
            return (Criteria) this;
        }

        public Criteria andOldEntityidIsNotNull() {
            addCriterion("Old_entityId is not null");
            return (Criteria) this;
        }

        public Criteria andOldEntityidEqualTo(String value) {
            addCriterion("Old_entityId =", value, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidNotEqualTo(String value) {
            addCriterion("Old_entityId <>", value, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidGreaterThan(String value) {
            addCriterion("Old_entityId >", value, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidGreaterThanOrEqualTo(String value) {
            addCriterion("Old_entityId >=", value, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidLessThan(String value) {
            addCriterion("Old_entityId <", value, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidLessThanOrEqualTo(String value) {
            addCriterion("Old_entityId <=", value, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidLike(String value) {
            addCriterion("Old_entityId like", value, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidNotLike(String value) {
            addCriterion("Old_entityId not like", value, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidIn(List<String> values) {
            addCriterion("Old_entityId in", values, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidNotIn(List<String> values) {
            addCriterion("Old_entityId not in", values, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidBetween(String value1, String value2) {
            addCriterion("Old_entityId between", value1, value2, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andOldEntityidNotBetween(String value1, String value2) {
            addCriterion("Old_entityId not between", value1, value2, "oldEntityid");
            return (Criteria) this;
        }

        public Criteria andHistoryIdIsNull() {
            addCriterion("History_id is null");
            return (Criteria) this;
        }

        public Criteria andHistoryIdIsNotNull() {
            addCriterion("History_id is not null");
            return (Criteria) this;
        }

        public Criteria andHistoryIdEqualTo(String value) {
            addCriterion("History_id =", value, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdNotEqualTo(String value) {
            addCriterion("History_id <>", value, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdGreaterThan(String value) {
            addCriterion("History_id >", value, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdGreaterThanOrEqualTo(String value) {
            addCriterion("History_id >=", value, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdLessThan(String value) {
            addCriterion("History_id <", value, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdLessThanOrEqualTo(String value) {
            addCriterion("History_id <=", value, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdLike(String value) {
            addCriterion("History_id like", value, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdNotLike(String value) {
            addCriterion("History_id not like", value, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdIn(List<String> values) {
            addCriterion("History_id in", values, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdNotIn(List<String> values) {
            addCriterion("History_id not in", values, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdBetween(String value1, String value2) {
            addCriterion("History_id between", value1, value2, "historyId");
            return (Criteria) this;
        }

        public Criteria andHistoryIdNotBetween(String value1, String value2) {
            addCriterion("History_id not between", value1, value2, "historyId");
            return (Criteria) this;
        }

        public Criteria andApprovalStateIsNull() {
            addCriterion("Approval_state is null");
            return (Criteria) this;
        }

        public Criteria andApprovalStateIsNotNull() {
            addCriterion("Approval_state is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalStateEqualTo(Integer value) {
            addCriterion("Approval_state =", value, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateNotEqualTo(Integer value) {
            addCriterion("Approval_state <>", value, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateGreaterThan(Integer value) {
            addCriterion("Approval_state >", value, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("Approval_state >=", value, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateLessThan(Integer value) {
            addCriterion("Approval_state <", value, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateLessThanOrEqualTo(Integer value) {
            addCriterion("Approval_state <=", value, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateIn(List<Integer> values) {
            addCriterion("Approval_state in", values, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateNotIn(List<Integer> values) {
            addCriterion("Approval_state not in", values, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateBetween(Integer value1, Integer value2) {
            addCriterion("Approval_state between", value1, value2, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalStateNotBetween(Integer value1, Integer value2) {
            addCriterion("Approval_state not between", value1, value2, "approvalState");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkIsNull() {
            addCriterion("Approval_Remark is null");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkIsNotNull() {
            addCriterion("Approval_Remark is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkEqualTo(String value) {
            addCriterion("Approval_Remark =", value, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkNotEqualTo(String value) {
            addCriterion("Approval_Remark <>", value, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkGreaterThan(String value) {
            addCriterion("Approval_Remark >", value, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Approval_Remark >=", value, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkLessThan(String value) {
            addCriterion("Approval_Remark <", value, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkLessThanOrEqualTo(String value) {
            addCriterion("Approval_Remark <=", value, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkLike(String value) {
            addCriterion("Approval_Remark like", value, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkNotLike(String value) {
            addCriterion("Approval_Remark not like", value, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkIn(List<String> values) {
            addCriterion("Approval_Remark in", values, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkNotIn(List<String> values) {
            addCriterion("Approval_Remark not in", values, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkBetween(String value1, String value2) {
            addCriterion("Approval_Remark between", value1, value2, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andApprovalRemarkNotBetween(String value1, String value2) {
            addCriterion("Approval_Remark not between", value1, value2, "approvalRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkIsNull() {
            addCriterion("Edit_remark is null");
            return (Criteria) this;
        }

        public Criteria andEditRemarkIsNotNull() {
            addCriterion("Edit_remark is not null");
            return (Criteria) this;
        }

        public Criteria andEditRemarkEqualTo(String value) {
            addCriterion("Edit_remark =", value, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkNotEqualTo(String value) {
            addCriterion("Edit_remark <>", value, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkGreaterThan(String value) {
            addCriterion("Edit_remark >", value, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Edit_remark >=", value, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkLessThan(String value) {
            addCriterion("Edit_remark <", value, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkLessThanOrEqualTo(String value) {
            addCriterion("Edit_remark <=", value, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkLike(String value) {
            addCriterion("Edit_remark like", value, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkNotLike(String value) {
            addCriterion("Edit_remark not like", value, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkIn(List<String> values) {
            addCriterion("Edit_remark in", values, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkNotIn(List<String> values) {
            addCriterion("Edit_remark not in", values, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkBetween(String value1, String value2) {
            addCriterion("Edit_remark between", value1, value2, "editRemark");
            return (Criteria) this;
        }

        public Criteria andEditRemarkNotBetween(String value1, String value2) {
            addCriterion("Edit_remark not between", value1, value2, "editRemark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("Create_Time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("Create_Time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("Create_Time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("Create_Time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("Create_Time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Create_Time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("Create_Time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("Create_Time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("Create_Time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("Create_Time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("Create_Time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("Create_Time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeIsNull() {
            addCriterion("LastModTime is null");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeIsNotNull() {
            addCriterion("LastModTime is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeEqualTo(Date value) {
            addCriterion("LastModTime =", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeNotEqualTo(Date value) {
            addCriterion("LastModTime <>", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeGreaterThan(Date value) {
            addCriterion("LastModTime >", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("LastModTime >=", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeLessThan(Date value) {
            addCriterion("LastModTime <", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeLessThanOrEqualTo(Date value) {
            addCriterion("LastModTime <=", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeIn(List<Date> values) {
            addCriterion("LastModTime in", values, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeNotIn(List<Date> values) {
            addCriterion("LastModTime not in", values, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeBetween(Date value1, Date value2) {
            addCriterion("LastModTime between", value1, value2, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeNotBetween(Date value1, Date value2) {
            addCriterion("LastModTime not between", value1, value2, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andAdduserIsNull() {
            addCriterion("AddUser is null");
            return (Criteria) this;
        }

        public Criteria andAdduserIsNotNull() {
            addCriterion("AddUser is not null");
            return (Criteria) this;
        }

        public Criteria andAdduserEqualTo(String value) {
            addCriterion("AddUser =", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotEqualTo(String value) {
            addCriterion("AddUser <>", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserGreaterThan(String value) {
            addCriterion("AddUser >", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserGreaterThanOrEqualTo(String value) {
            addCriterion("AddUser >=", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLessThan(String value) {
            addCriterion("AddUser <", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLessThanOrEqualTo(String value) {
            addCriterion("AddUser <=", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLike(String value) {
            addCriterion("AddUser like", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotLike(String value) {
            addCriterion("AddUser not like", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserIn(List<String> values) {
            addCriterion("AddUser in", values, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotIn(List<String> values) {
            addCriterion("AddUser not in", values, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserBetween(String value1, String value2) {
            addCriterion("AddUser between", value1, value2, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotBetween(String value1, String value2) {
            addCriterion("AddUser not between", value1, value2, "adduser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}